/**
 * 
 */
package org.jftstool.config;

/**
 * @author grupo JFTS
 *
 */
public class IndexerConfig {
	private String indexPath = null;
	private boolean useDefaultAnalyzer = false;
	private boolean useDefaultIndexer = false;
	private boolean useSemanticOnIndex = false;	
	private int maxFieldLength = 0;
	
	public IndexerConfig() {
		indexPath = "";
	}
	
	public IndexerConfig(String indexPath, boolean useDefaultAnalyzer, boolean useDefaultIndexer, boolean useSemanticOnIndex, int maxFieldLength) {
		this.indexPath = indexPath;
		this.useDefaultAnalyzer = useDefaultAnalyzer;
		this.useDefaultIndexer = useDefaultIndexer;
		this.useSemanticOnIndex = useSemanticOnIndex;
		this.maxFieldLength = maxFieldLength;
	}

	public String getIndexPath() {
		return indexPath;
	}

	public void setIndexPath(String indexPath) {
		this.indexPath = indexPath;
	}

	public boolean getUseDefaultAnalyzer() {
		return useDefaultAnalyzer;
	}

	public void setUseDefaultAnalyzer(boolean useDefaultAnalyzer) {
		this.useDefaultAnalyzer = useDefaultAnalyzer;
	}
	
	public boolean getUseDefaultIndexer() {
		return useDefaultIndexer;
	}

	public void setUseDefaultIndexer(boolean useDefaultIndexer) {
		this.useDefaultIndexer = useDefaultIndexer;
	}	

	public boolean getUseSemanticOnIndex() {
		return useSemanticOnIndex;
	}

	public void setUseSemanticOnIndex(boolean useSemanticOnIndex) {
		this.useSemanticOnIndex = useSemanticOnIndex;
	}	
	
	public int getMaxFieldLength() {
		return maxFieldLength;
	}

	public void setMaxFieldLength(int maxFieldLength) {
		this.maxFieldLength = maxFieldLength;
	}
	
	

}